翻訳と辞書
Words near each other
・ Universal Church of Truth
・ Universal Cinema Classics
・ Universal Circulating Herald
・ Universal Circulating Music Library
・ Universal City
・ Universal City Station
・ Universal City Studios, Inc. v. Nintendo Co., Ltd.
・ Universal City Studios, Inc. v. Reimerdes
・ Universal City, California
・ Universal City, Texas
・ Universal City/Studio City (Los Angeles Metro station)
・ Universal CityWalk
・ Universal class
・ Universal Classics and Jazz
・ Universal code
Universal code (data compression)
・ Universal code (ethics)
・ Universal Coded Character Set
・ Universal coding
・ Universal coefficient theorem
・ Universal College
・ Universal College Application
・ Universal College of Learning
・ Universal Colliery
・ Universal Combat
・ Universal Commodity Exchange
・ Universal Communication Format
・ Universal Communication Platform
・ Universal Compassion
・ Universal composability


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Universal code (data compression) : ウィキペディア英語版
Universal code (data compression)

In data compression, a universal code for integers is a prefix code that maps the positive integers onto binary codewords, with the additional property that whatever the true probability distribution on integers, as long as the distribution is monotonic (i.e., ''p''(''i'') ≥ ''p''(''i'' + 1) for all positive ''i''), the expected lengths of the codewords are within a constant factor of the expected lengths that the optimal code for that probability distribution would have assigned. A universal code is ''asymptotically optimal'' if the ratio between actual and optimal expected lengths is bounded by a function of the information entropy of the code that, in addition to being bounded, approaches 1 as entropy approaches infinity.
In general, most prefix codes for integers assign longer codewords to larger integers. Such a code can be used to efficiently communicate a message drawn from a set of possible messages, by simply ordering the set of messages by decreasing probability and then sending the index of the intended message. Universal codes are generally not used for precisely known probability distributions, and no universal code is known to be optimal for any distribution used in practice.
A universal code should not be confused with universal source coding, in which the data compression method need not be a fixed prefix code and the ratio between actual and optimal expected lengths must approach one. However, note that an asymptotically optimal universal code can be used on independent identically-distributed sources, by using increasingly large blocks, as a method of universal source coding.
== Universal and non-universal codes ==
These are some universal codes for integers; an asterisk (
*
) indicates a code that can be trivially restated in lexicographical order, while a double dagger () indicates a code that is asymptotically optimal:
* Elias gamma coding
*
* Elias delta coding
* ‡
* Elias omega coding
* ‡
* Exp-Golomb coding
*, which has Elias gamma coding as a special case. (Used in H.264/MPEG-4 AVC)
* Fibonacci coding
* Levenshtein coding
* ‡, the original universal coding technique ()
* Byte coding, also known as comma coding, where a special bit pattern (with at least two bits) is used to mark the end of the code — for example, if an integer is encoded as a sequence of nibbles representing digits in base 15 instead of the more natural base 16, then the highest nibble value (i.e., a sequence of four ones in binary) can be used to indicate the end of the integer.
These are non-universal ones:
* unary coding, which is used in Elias codes
* Rice coding, which is used in the FLAC audio codec and which has unary coding as a special case
* Golomb coding, which has Rice coding and unary coding as special cases.
Their nonuniversality can be observed by noticing that, if any of these are used to code the Gauss–Kuzmin distribution or the Zeta distribution with parameter s=2, expected codeword length is infinite. For example, using unary coding on the Zeta distribution yields an expected length of
: E(l) = \frac \sum_^\infty \frac = \infty . \,
On the other hand, using the universal Elias gamma coding for the Gauss–Kuzmin distribution results in an expected codeword length (about 3.51 bits) near entropy (about 3.43 bits)().

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Universal code (data compression)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.